home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / actlib13.zip / TOOLS.ZIP / EXTHANDL.C < prev    next >
C/C++ Source or Header  |  1993-02-25  |  409b  |  23 lines

  1. /*  Copyright (C) 1993   Marc Stern  (internet: stern@mble.philips.be)  */
  2.  
  3. #include "tools.h"
  4. #include <dos.h>
  5.  
  6. /*
  7.  *  Function   :    exthandles
  8.  *
  9.  *  Topics     :    Allows MS-DOS program to open 255 handles
  10.  *
  11.  *  Warning    :    - Valid only for DOS >= 3.3
  12.  *
  13.  */
  14.  
  15. void exthandles( void )
  16.  
  17. {  union REGS regs;
  18.  
  19.    regs.x.bx = 255;
  20.    regs.h.ah = 0x67;
  21.    intdos( ®s, ®s );
  22. }
  23.